package com.dg.river.module.main.contract

import com.dg.river.module.base.listener.IBaseListListener
import com.dg.river.module.base.listener.IBaseObjectListener
import com.dg.river.module.base.presenter.IBasePresenter
import com.dg.river.module.base.view.IBaseView
import com.dg.river.module.main.bean.UserInfoBean

/**
 * @作者：Hututu
 * @时间：2023/10/7 13:55
 * @描述：内容描述
 * @修改：修改内容
 * @Version:1.0
 */
interface DemoContract {

    interface IDemoModel {

        fun demoFun1(value: String, listener: IBaseListListener<UserInfoBean>)

        fun demoFun2(value: String, listener: IBaseObjectListener<UserInfoBean>)
    }

    interface IDemoView : IBaseView {

        fun demoFun1Success(demo: String)

        fun demoFun1Failure(demo: String)

        fun demoFun2Success(demo: String)

        fun demoFun2Failure(demo: String)
    }

    interface IDemoPresenter : IBasePresenter<IBaseView> {

        fun demoFun1(value: String)

        fun demoFun2(value: String)
    }
}